package com.demo.service;

import com.bootlever.framework.core.context.BootleverApplicationContext;
import com.demo.dto.Student;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StudentService {

    private static final Logger logger = LoggerFactory.getLogger(StudentService.class);

    public void dostudent(){
        logger.info("进入doStudent");
        Student student = BootleverApplicationContext.getBean(Student.class);
        logger.info("--------------------" + student.getName());
    }
}
